#include<stdio.h>
int main()
{
	int x;
	while(scanf("%d",&x)!=EOF)
	{	if(x<1)
		printf("y=%d",x);
	else if(x>=1&&x<=10)
		printf("y=%d",2*x-1);
	else if(x>=10)
	printf("y=%d",3*x-1);
    }
return 0;	
}
